<!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>肌肤测试</title> <meta name=viewport content="width=device-width,initial-scale=1,user-scalable=no,maximum-scale=1"> <meta id=stopUsePullRefresh value=true /> <script src="//g.alicdn.com/tmapp/tida2/2.2.16/tida.js?appkey=23600852"></script> <script src="//res.wx.qq.com/open/js/jweixin-1.0.0.js?v=2017092118?v=2017092118"></script> <script src="static/js/zepto.min.js?v=2017092118"></script> <script src="static/js/veryless.js?v=2017092118"></script> <script src="static/js/iscroll.min.js?v=2017092118"></script> <script src="static/js/resLoader.js?v=2017092118"></script> </head> <body> <style> html,
    body {
        margin: 0;
        padding: 0;
        width: 100% height:100%;
        overflow: hidden;
    }

    html {
        overflow: auto;
    }

    img {
        vertical-align: top;
    }

    #loading {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 999999;
        background-color: #fff;
    } </style> <script> var baseUrl = "../../public/static/images/";
    var browser = {
        versions: function () {
            var u = navigator.userAgent,
                app = navigator.appVersion;
            return { //移动终端浏览器版本信息
                trident: u.indexOf('Trident') > -1, //IE内核
                presto: u.indexOf('Presto') > -1, //opera内核
                webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
                gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1, //火狐内核
                mobile: !!u.match(/AppleWebKit.*Mobile.*/), //是否为移动终端
                ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
                android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或uc浏览器
                iPhone: u.indexOf('iPhone') > -1, //是否为iPhone或者QQHD浏览器
                iPad: u.indexOf('iPad') > -1, //是否iPad
                webApp: u.indexOf('Safari') == -1 //是否web应该程序，没有头部与底部
            };
        }(),
        language: (navigator.browserLanguage || navigator.language).toLowerCase()
    };
    if (browser.versions.mobile) { //判断是否是移动设备打开。browser代码在下面
        var ua = navigator.userAgent.toLowerCase(); //获取判断用的对象
        if (ua.match(/MicroMessenger/i) == "micromessenger") {
            //在微信中打开
            window.wechat = "wechat";
            window.dschannel = "weixin";
        }
        if (ua.match(/WeiBo/i) == "weibo") {
            window.dschannel = "weibo";
            //在新浪微博客户端打开
        }
        if (ua.match(/QQ/i) == "qq") {
            window.dschannel = "qq";
            //在QQ空间打开
        }
        if (browser.versions.ios) {
            //是否在IOS浏览器打开
            window.osType = "ios";
            var width = screen.width;
            window.deviceType = "iphone6sPlus";
        }
        if (browser.versions.android) {
            window.osType = "android";
            window.gyromode = "self"; //是否在安卓浏览器打开
        } else {
            window.gyromode = "auto";
        }

    } else {
        //否则就是PC浏览器打开
        window.dschannel = "pc";
    }

    //获取参数
    function getQueryStringByName(name) {
        var result = location.search.match(new RegExp("[\?\&]" + name + "=([^\&]+)", "i"));
        if (result == null || result.length < 1) {
            return "";
        }
        return result[1];
    }

    function setCookie(name, value) {
        var Days = 30;
        var exp = new Date();
        exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
        document.cookie = name + "=" + encodeURIComponent(value) + ";expires=" + exp.toGMTString();
    }

    function getCookie(name) {
        var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
        if (arr = document.cookie.match(reg))
            return decodeURIComponent(arr[2]);
        else
            return null;
    }

    function loadJs(file) {
        var scriptTag = document.getElementById('loadScript');
        var head = document.getElementsByTagName('head').item(0)
        if (scriptTag) head.removeChild(scriptTag);
        script = document.createElement('script');
        script.src = file;
        script.type = 'text/javascript';
        script.id = 'loadScript';
        head.appendChild(script)
        script.onload = function () {
            hasBuildJs = true;
        }
    } </script> <div id=app> <router-view></router-view> </div> <div style=display:none> <script src="https://s19.cnzz.com/z_stat.php?id=1264450330&web_id=1264450330" language=JavaScript></script> <script> var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
        document.write(unescape("%3Cspan id='cnzz_stat_icon_1264450330'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s19.cnzz.com/z_stat.php%3Fid%3D1264450330' type='text/javascript'%3E%3C/script%3E")); </script> </div> <script type="text/javascript" src="./build.js"></script></body> </html>